<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个人收藏页</title>
    <link rel="stylesheet" href="CSS/userCenter_collection.css">
    <script src="js/jquery-3.4.1.min.js"></script>
    <script>
        $(function () {
            $('#strategyColl').hide()
            $('#collNav li:first-child').click(function () {
                $('#placeColl').css('display', '')
                $('#strategyColl').hide()
                $(this).css('color','rgb(255, 123, 0)')
                $('#collNav li:last-child').css('color','#666')
            })
            $('#collNav li:last-child').click(function () {
                $('#placeColl').hide()
                $('#strategyColl').show()
                $(this).css('color','rgb(255, 123, 0)')
                $('#collNav li:first-child').css('color','#666')
            })
        })
    </script>
</head>

<body>
    <div id="collNav">
        <ul>
            <li>地点收藏</li>
            <li>攻略收藏</li>
        </ul>
    </div>
    <div id="collectidiv">
        <div id="placeColl">
            <div>
                <img src="images/scenerySpot/suMuseum.jpeg" alt="">
                <div>苏州博物馆</div>
            </div>
            <div>
                <img src="images/scenerySpot/pingJiang.jpeg" alt="">
                <div>平江街</div>
            </div>
            <div>
                <img src="images/scenerySpot/tongLi.jpeg" alt="">
                <div>同里古镇</div>
            </div>
            <div>
                <img src="images/scenerySpot/shanTang.jpeg" alt="">
                <div>七里山塘</div>
            </div>
            <div>
                <img src="images/scenerySpot/huQiu.jpeg" alt="">
                <div>虎丘</div>
            </div>
        </div>
        <div id="strategyColl">
            <div class="content">
                <div class="img">
                    <img src="images/scenerySpot/suMuseum.jpeg" alt="">
                </div>
                <div class="article">
                    <div class="title">
                        <span>苏州博物馆</span><br>
                        <time>2019/8/9</time>
                    </div>
                    <div class="txt">苏州博物馆</div>
                </div>
            </div>
            <div class="content">
                <div class="img">
                    <img src="images/scenerySpot/pingJiang.jpeg" alt="">
                </div>
                <div class="article">
                    <div class="title">
                        <span>平江街</span><br>
                        <time>2019/8/9</time>
                    </div>
                    <div class="txt">平江街</div>
                </div>
            </div>
            <div class="content">
                <div class="img">
                    <img src="images/scenerySpot/tongLi.jpeg" alt="">
                </div>
                <div class="article">
                    <div class="title">
                        <span>同里古镇</span><br>
                        <time>2019/8/9</time>
                    </div>
                    <div class="txt">同里古镇</div>
                </div>
            </div>
            <div class="content">
                <div class="img">
                    <img src="images/scenerySpot/shanTang.jpeg" alt="">
                </div>
                <div class="article">
                    <div class="title">
                        <span>七里山塘</span><br>
                        <time>2019/8/9</time>
                    </div>
                    <div class="txt">七里山塘</div>
                </div>
            </div>
        </div>

    </div>
</body>

</html>